home *** CD-ROM | disk | FTP | other *** search
/ Star Festival... a Return to Japan / Star Festival... a Return to Japan.iso / pc / STARFESTIVAL / Credits.dir / 00036.ls < prev    next >
Encoding:
Text File  |  1999-10-18  |  1.8 KB  |  75 lines

  1. on startMovie
  2.   global gCursorReady, gMagCursor
  3.   puppetSprite(44, 1)
  4.   gCursorReady = 1
  5.   gMagCursor = "magCursor"
  6. end
  7.  
  8. on idle
  9.   global gCursorReady
  10.   if gCursorReady = 1 then
  11.     cursor(200)
  12.     checkCursors()
  13.     set the locH of sprite 44 to the mouseH
  14.     set the locV of sprite 44 to the mouseV
  15.     updateStage()
  16.   end if
  17.   if rollOver(20) then
  18.     set the visible of sprite 22 to 1
  19.   else
  20.     set the visible of sprite 22 to 0
  21.   end if
  22.   if rollOver(21) then
  23.     set the visible of sprite 23 to 1
  24.   else
  25.     set the visible of sprite 23 to 0
  26.   end if
  27.   if rollOver(25) then
  28.     set the visible of sprite 26 to 1
  29.   else
  30.     set the visible of sprite 26 to 0
  31.   end if
  32.   if rollOver(28) then
  33.     set the visible of sprite 29 to 1
  34.   else
  35.     set the visible of sprite 29 to 0
  36.   end if
  37. end
  38.  
  39. on checkCursors
  40.   global gMagCursor
  41.   set the castNum of sprite 44 to the number of member "curs1"
  42.   if rollOver(5) then
  43.     set the castNum of sprite 44 to the number of member "hotCursor"
  44.   end if
  45.   if rollOver(22) then
  46.     set the castNum of sprite 44 to the number of member "hotCursor"
  47.   end if
  48.   repeat with i = 8 to 12
  49.     if rollOver(i) then
  50.       set the castNum of sprite 44 to the number of member "hotCursor"
  51.     end if
  52.   end repeat
  53.   repeat with i = 14 to 21
  54.     if rollOver(i) then
  55.       set the castNum of sprite 44 to the number of member "hotCursor"
  56.     end if
  57.   end repeat
  58.   repeat with i = 24 to 28
  59.     if rollOver(i) then
  60.       set the castNum of sprite 44 to the number of member "hotCursor"
  61.     end if
  62.   end repeat
  63.   if rollOver(36) then
  64.     set the castNum of sprite 44 to the number of member "hotCursor"
  65.   end if
  66.   if rollOver(37) then
  67.     set the castNum of sprite 44 to the number of member "nonCursor"
  68.   end if
  69.   repeat with i = 40 to 42
  70.     if rollOver(i) then
  71.       set the castNum of sprite 44 to the number of member "hotCursor"
  72.     end if
  73.   end repeat
  74. end
  75.